<html>
<head><meta charset="utf-8"><title>contributing on lexer/parser · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/contributing.20on.20lexer.2Fparser.html">contributing on lexer/parser</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="213284268"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/contributing%20on%20lexer/parser/near/213284268" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> hossein dindar <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/contributing.20on.20lexer.2Fparser.html#213284268">(Oct 14 2020 at 13:01)</a>:</h4>
<p>Hi guys, there is an issue about give a better diagnostic for keywords with incorrect capitalization that i want work on it, but one thing that I can't figure out is that how can I know that which part of parser I should work on, I mean there is a lot of code, I can just read the code and comments to figure out which part is related to this issue, I wanted to ask that is there any other way or any other document that I can read and figure out the relations between functions and modules?</p>



<a name="213284606"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/contributing%20on%20lexer/parser/near/213284606" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> hossein dindar <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/contributing.20on.20lexer.2Fparser.html#213284606">(Oct 14 2020 at 13:03)</a>:</h4>
<p>or also can I ask anyone to mentor me a little for the first time that I want to work on the parser to make me more familiar with functionality and structure?</p>



<a name="213284826"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/contributing%20on%20lexer/parser/near/213284826" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/contributing.20on.20lexer.2Fparser.html#213284826">(Oct 14 2020 at 13:04)</a>:</h4>
<p>Hmm, I think <span class="user-mention" data-user-id="133169">@matklad</span> and <span class="user-mention" data-user-id="125294">@Aaron Hill</span> work the most in this area, they might have suggestions</p>



<a name="213284921"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/contributing%20on%20lexer/parser/near/213284921" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/contributing.20on.20lexer.2Fparser.html#213284921">(Oct 14 2020 at 13:05)</a>:</h4>
<p>Context: <a href="https://github.com/rust-lang/rust/issues/77149">https://github.com/rust-lang/rust/issues/77149</a></p>



<a name="213286179"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/contributing%20on%20lexer/parser/near/213286179" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> hossein dindar <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/contributing.20on.20lexer.2Fparser.html#213286179">(Oct 14 2020 at 13:15)</a>:</h4>
<p>ok thanks</p>



<a name="213286283"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/contributing%20on%20lexer/parser/near/213286283" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/contributing.20on.20lexer.2Fparser.html#213286283">(Oct 14 2020 at 13:16)</a>:</h4>
<p><span class="user-mention" data-user-id="326330">@hossein dindar</span> I think this change need to be applied to the <code>Parser::expect_keyword</code> function: <a href="https://github.com/rust-lang/rust/blob/5565241f65cf402c3dbcb55dd492f172c473d4ce/compiler/rustc_parse/src/parser/mod.rs#L511-L517">https://github.com/rust-lang/rust/blob/5565241f65cf402c3dbcb55dd492f172c473d4ce/compiler/rustc_parse/src/parser/mod.rs#L511-L517</a></p>



<a name="213286362"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/contributing%20on%20lexer/parser/near/213286362" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> hossein dindar <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/contributing.20on.20lexer.2Fparser.html#213286362">(Oct 14 2020 at 13:17)</a>:</h4>
<p>thanks, I will check</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>